<div class="col-mb-20 clearfix">
    <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 tour-left">
        <div class="skin-tour">
            <?php echo $this->Html->image('skin-tour-02.jpg',array('class'=>'img-responsive')); ?>
            <p class="name-tour-intro color-blue">
<!--                --><?php //echo $newestForiegnTour['Tour']['title'], array()?>
                <?php echo $this->Html->link($newestNationalTour['Tour']['title'], array('controller'=>'Mypages', 'action'=>'tourdetaildisplay'.'/'.$newestForiegnTour['Tour']['id']));?>
            </p>
            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-pr-0">
                <div class="col-xs-5 col-sm-5 col-md-5 col-lg-5 col-pd-0 ">
                    <p class="img-intro">
                        <?php echo $this->Html->image($newestNationalTour['Tour']['imageURL'],array(
                            'class'=>'img-responsive',
                            'url' => array('controller'=>'Mypages','action'=>'tourdetaildisplay'.'/'.$newestForiegnTour['Tour']['id']))); ?>
                    </p>
                </div>
                <div class="col-xs-7 col-sm-7 col-md-7 col-lg-7 col-pr-0">
                    <ul class="list-unstyled list-info-intro">
                        <li>
                            <strong>Ngay khoi hanh:</strong>
                                <span>
                                    <?php if ($newestNationalTour['Tour']['start_date']){
                                        echo $newestNationalTour['Tour']['start_date'];
                                    }else{
                                        echo 'Updating...';
                                    }
                                    ?>
                                </span>
                        </li>
                        <li>
                            <strong>Thời gian:</strong>
                                <span>
                                    <?php if ($newestNationalTour['Tour']['schedule']){
                                        echo $newestNationalTour['Tour']['schedule'];
                                    }else{
                                        echo 'Updating...';
                                    }
                                    ?>
                                </span>
                        </li>
                        <li>
                            <strong>Khách sạn:</strong>
                                <span>
                                   <?php if ($newestNationalTour['Tour']['hotel_start']){
                                       echo $newestNationalTour['Tour']['hotel_start'].' sao';
                                   }else{
                                       echo 'Updating...';
                                   }
                                   ?>
                                </span>
                        </li>
                        <li>
                            <strong>Điểm xuất phát:</strong>
                                <span>
                                  <?php if ($newestNationalTour['Tour']['start_point']){
                                      echo $newestNationalTour['Tour']['start_point'];
                                  }else{
                                      echo 'Updating...';
                                  }
                                  ?>
                                </span>
                        </li>
                        <li>
                            <strong>Phương tiện:</strong>
                                <span>
                                   <?php if ($newestNationalTour['Tour']['vehicle']){
                                       echo $newestNationalTour['Tour']['vehicle'];
                                   }else{
                                       echo 'Updating...';
                                   }
                                   ?>
                                </span>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-pr-0 list-tour col-pt-5 ">
                <?php
                $i=0;
                foreach($tour as $tourElement) { $i++?>
                    <div class="row clearfix">
                        <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 col-pd-0 list-tour-stt">
                            <?php echo $i?>
                        </div>
                        <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8 col-pd-0 col-pl-2 list-tour-name ">
                            <p class="color-blue">
                                <?php echo $this->Html->link($tourElement['Tour']['title'], array('controller'=>'Mypages', 'action'=>'tourdetaildisplay'.'/'.$tourElement['Tour']['id']));?>
                            </p>
                            <p>
                                <?php echo $tourElement['Tour']['start_date']?>
                            </p>
                        </div>
                        <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 text-right col-pd-0">
                            <p>
                                <?php echo $tourElement['Tour']['schedule']?>
                            </p>
                            <p class="color-red">
                                <?php
                                echo $this->Number->format($tourElement['Tour']['price'], array(
                                    'places' => 3,
                                    'before' => ' ',
                                    'escape' => false,
                                    'decimals' => ',',
                                    'thousands' => ','
                                ));
                                ?>
                            </p>
                        </div>
                    </div>
                <?php }?>
            </div>
        </div>
    </div>
    <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 tour-right">
        <div class="skin-tour">

            <?php echo $this->Html->image('skin-tour-01.jpg',array(
                'class'=>'img-responsive',
            )); ?>
            <p class="name-tour-intro color-red">
<!--                --><?php //echo $newestNationalTour['Tour']['title'] ?>
                <?php echo $this->Html->link($newestForiegnTour['Tour']['title'], array('controller'=>'Mypages', 'action'=>'tourdetaildisplay'.'/'.$newestNationalTour['Tour']['id']));?>
            </p>
            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-pr-0">
                <div class="col-xs-5 col-sm-5 col-md-5 col-lg-5 col-pd-0 ">
                    <p class="img-intro">
                        <?php echo $this->Html->image($newestForiegnTour['Tour']['imageURL'],array(
                            'class'=>'img-responsive',
                            'url' => array('controller'=>'Mypages','action'=>'tourdetaildisplay'.'/'.$newestNationalTour['Tour']['id']))); ?>
                        <!--            --><?php //echo $this->Html->image($normalTourElement['Tour']['imageURL'],array(
                        //                'class'=>'img-responsive',
                        //                'url' => array('controller'=>'Mypages','action'=>'tourdetaildisplay'.'/'.$normalTourElement['Tour']['id'])
                        //            )); ?>

                    </p>
                </div>
                <div class="col-xs-7 col-sm-7 col-md-7 col-lg-7 col-pr-0">
                    <ul class="list-unstyled list-info-intro">
                        <li>
                            <strong>Ngay khoi hanh:</strong>
                                <span>
                                    <?php if ($newestForiegnTour['Tour']['start_date']){
                                        echo $newestForiegnTour['Tour']['start_date'];
                                    }else{
                                        echo 'Updating...';
                                    }
                                    ?>
                                </span>
                        </li>
                        <li>
                            <strong>Thời gian:</strong>
                                <span>
                                    <?php if ($newestForiegnTour['Tour']['schedule']){
                                        echo $newestForiegnTour['Tour']['schedule'];
                                    }else{
                                        echo 'Updating...';
                                    }
                                    ?>
                                </span>
                        </li>
                        <li>
                            <strong>Khách sạn:</strong>
                                <span>
                                   <?php if ($newestForiegnTour['Tour']['hotel_start']){
                                       echo $newestForiegnTour['Tour']['hotel_start'].' sao';
                                   }else{
                                       echo 'Updating...';
                                   }
                                   ?>
                                </span>
                        </li>
                        <li>
                            <strong>Điểm xuất phát:</strong>
                                <span>
                                  <?php if ($newestForiegnTour['Tour']['start_point']){
                                      echo $newestForiegnTour['Tour']['start_point'];
                                  }else{
                                      echo 'Updating...';
                                  }
                                  ?>
                                </span>
                        </li>
                        <li>
                            <strong>Phương tiện:</strong>
                                <span>
                                   <?php if ($newestForiegnTour['Tour']['vehicle']){
                                       echo $newestForiegnTour['Tour']['vehicle'];
                                   }else{
                                       echo 'Updating...';
                                   }
                                   ?>
                                </span>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-pr-0 list-tour col-pt-5 ">
                <?php
                $i=0;
                foreach($tourInternational as $tourInternationalElement) { $i++?>
                    <div class="row clearfix">
                        <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 col-pd-0 list-tour-stt">
                            <?php echo $i?>
                        </div>
                        <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8 col-pd-0 col-pl-2 list-tour-name ">
                            <p class="color-blue">
                                <?php echo $this->Html->link($tourInternationalElement['Tour']['title'], array('controller'=>'Mypages', 'action'=>'tourdetaildisplay'.'/'.$tourInternationalElement['Tour']['id']));?>
                            </p>
                            <p>
                                <?php echo $tourInternationalElement['Tour']['start_date']?>
                            </p>
                        </div>
                        <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 text-right col-pd-0">
                            <p>
                                <?php echo $tourInternationalElement['Tour']['schedule']?>
                            </p>
                            <p class="color-red">
                                <?php
                                echo $this->Number->format($tourInternationalElement['Tour']['price'], array(
                                    'places' => 3,
                                    'before' => ' ',
                                    'escape' => false,
                                    'decimals' => ',',
                                    'thousands' => ','
                                ));
                                ?>
                            </p>
                        </div>
                    </div>
                <?php }?>
            </div>
        </div>
    </div>
</div>
